package de.definitives.creoleconverter.parser;

import de.definitives.creoleconverter.document.Document;

/**
 * Parser for wiki markup strings.
 *
 * @author Christian Helmbold
 */
public interface Parser {

    /**
     * Parses a string of wiki markup and constructs a Document.
     * 
     * @param wikiMarkup
     * @return Root node of the markup elements tree.
     */
    Document parse(String wikiMarkup);

}
